package Soso.entity;

public abstract class SerPackage {
    protected double price;//套餐费用




    public SerPackage() {
    }

    public SerPackage(double price) {
        this.price = price;
    }
    public abstract void showInfo();

    /**
     * 获取
     * @return price
     */
    public double getPrice() {
        return price;
    }

    /**
     * 设置
     * @param price
     */
    public void setPrice(double price) {
        this.price = price;
    }

    public String toString() {
        return "SerPackage{price = " + price + "}";
    }
}
